<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2018 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: guosheng1987 <guosheng1987@126.com>
// +----------------------------------------------------------------------
namespace plugins\portal_promotion\model;
use think\Model;

//
class PortalPromotionModel extends Model
{
    // 设置当前模型对应的完整数据表名称
    //protected $table = 'crawler_collection';
    
    public function post()
    {
        return $this->belongsTo('PortalPostModel','post_id','id');
    }
}